package com.bean;

import java.sql.Timestamp;

/**
 * Boorow entity. @author MyEclipse Persistence Tools
 */

public class Boorow implements java.io.Serializable {

	// Fields

	private Integer borrowId;
	private User user;
	private Bookinformation bookinformation;
	private Timestamp borrowTime;
	private Timestamp borrowBackTime;
	private Integer borrowNumberOfTime;

	// Constructors

	/** default constructor */
	public Boorow() {
	}

	/** full constructor */
	public Boorow(User user, Bookinformation bookinformation,
			Timestamp borrowTime, Timestamp borrowBackTime,
			Integer borrowNumberOfTime) {
		this.user = user;
		this.bookinformation = bookinformation;
		this.borrowTime = borrowTime;
		this.borrowBackTime = borrowBackTime;
		this.borrowNumberOfTime = borrowNumberOfTime;
	}

	// Property accessors

	public Integer getBorrowId() {
		return this.borrowId;
	}

	public void setBorrowId(Integer borrowId) {
		this.borrowId = borrowId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Bookinformation getBookinformation() {
		return this.bookinformation;
	}

	public void setBookinformation(Bookinformation bookinformation) {
		this.bookinformation = bookinformation;
	}

	public Timestamp getBorrowTime() {
		return this.borrowTime;
	}

	public void setBorrowTime(Timestamp borrowTime) {
		this.borrowTime = borrowTime;
	}

	public Timestamp getBorrowBackTime() {
		return this.borrowBackTime;
	}
	public void setBorrowBackTime(Timestamp borrowBackTime) {
		this.borrowBackTime = borrowBackTime;
	}

	public Integer getBorrowNumberOfTime() {
		return this.borrowNumberOfTime;
	}

	public void setBorrowNumberOfTime(Integer borrowNumberOfTime) {
		this.borrowNumberOfTime = borrowNumberOfTime;
	}

}